package com.lqs.sofp.dao;

package com.lqs.sofp.dao;

import com.lqs.sofp.entity.User;

import java.util.List;

public interface NewUsersDao {
    /**
     * 
     * @return
     */
    public List<User> selectAll();

    /**
     * 
     * @param userName
     * @return
     */
    public boolean delete(String userName);

    /**
     * 
     * @param user
     * @return
     */
    public boolean updata(User user);

    /**
     * 
     * @param userName
     * @return
     */
    public User select(String userName);
}